Length

Syntax: @length stringvar, numvar

The Length command puts the length into the numeric variable numvar of the string stringvar.

Example

@Length Grade, Num

with Grade equal to 'Director' would put the value 8 into Num.